﻿using System;
using System.Threading;

namespace DoubleLoop
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = 0;
            while (n < 10)
            {
                n++;

                int m = 0;
                while (m < n)
                {
                    m++;
                    Console.Write(n + "\t");
                    // \t - special symbol to print TAB
                }

                Console.WriteLine();
            }

            Console.WriteLine("---------------------");

            for (int i = 1; i <= 10; i++)
            {
                for (int j = 0; j < i; j++)
                {
                    Console.Write(i + "\t");
                    Thread.Sleep(500);
                }
                Console.WriteLine();
            }

            for (int i = 0; i < 24; i++)
            {
                for (int j = 0; j < 60; j++)
                {
                    Console.WriteLine(i + ":" + j);
                    Thread.Sleep(500);
                }
                Console.WriteLine();
            }

            Console.ReadKey();
        }
    }
}
